<!DOCTYPE html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>用户详细信息</title>
    <link rel="stylesheet" type="text/css" href="../../layui/css/layui.css" th:href="@{/layui/css/layui.css}"/>
    <script type="text/javascript" src="../../layui/layui.js" th:src="@{/layui/layui.js}"></script>
    <script type="text/javascript" th:src="@{/js/user.js}"></script>
</head>
<body>
<form class="layui-form" action="">
    <input type="hidden" id="userId" name="id" value="">
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>用户名
        </label>
        <div class="layui-input-inline">
            <input id="username" type="text" name="username"  lay-verify="required" placeholder=""
                   autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>密码
        </label>
        <div class="layui-input-inline">
            <input id="password" type="text" name="password" lay-verify="pass" placeholder=""
                   autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>密码确认
        </label>
        <div class="layui-input-inline">
            <input id="repassword" type="text" name="repassword" lay-verify="repass" placeholder=""
                   autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>昵称
        </label>
        <div class="layui-input-inline">
            <input id="nickname" type="text" name="nickname"  lay-verify="nickname" placeholder=""
                   autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>手机
        </label>
        <div class="layui-input-inline">
            <input type="text" id="iphone" name="iphone" value=""  required="" lay-verify="telephone"  autocomplete="off"
                   class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>粉丝数
        </label>
        <div class="layui-input-inline">
            <input type="text" id="fansCounts" name="fansCounts" value="" required="" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            <span class="x-red"></span>关注数
        </label>
        <div class="layui-input-inline">
            <input type="text" id="followCounts" name="followCounts" value="" required="" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

        <div class="layui-upload">
            <button style="margin-left: 105px;margin-top:5px" type="button" class="layui-btn" id="uploadimg">上传头像</button>
            <div class="layui-upload-list">
                <img class="layui-upload-img" id="imgupload" name="imgname">
                <p id="demoText"></p>
                <input id="faceImage" type="hidden" name="faceImage" required lay-verify="required" placeholder=""
                       autocomplete="off"
                       class="layui-input layui-disabled">
            </div>
        </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
<!--            <button id="ok" class="layui-btn" lay-submit lay-filter="close">确定</button>-->

            <button class="layui-btn" lay-submit lay-filter="adduser">确定</button>
            <button id="closeform" class="layui-btn" lay-filter="close">关闭</button>
        </div>
    </div>
</form>
</body>
</html>